const { Router } = require("express");
const router = Router();
const readJSON = require("../readJSON.js");

router.get("/test", (req, res) => {
  res.send(readJSON("test.json"));
});

router.get("/getSwiperList", (req, res) => {
  res.send(readJSON("swipers.json"));
});

module.exports = router;
